<?php
/**
 * Created By PhpStorm
 * Author: patrick wu
 * Date: 2020/10/21
 * Time: 15:58
 */
namespace App\Http\Model\Mysql;

use Illuminate\Database\Eloquent\Model;

class ApplyWithdraw extends Model
{
    const APPLY_INIT    =   0,      //初始状态
        APPLY_AGREE     =   1,      //已同意
        APPLY_REJECT    =   2,      //已拒绝
        APPLY_ALREADY   =   3;      //已付款

    const APPLY_DESC    =   [
        self::APPLY_INIT    =>  '提交申请',
        self::APPLY_AGREE   =>  '商家确认',
        self::APPLY_REJECT  =>  '商家拒绝',
        self::APPLY_ALREADY =>  '已到账'
    ];

    protected $table = 'mini_apply_withdraw';

    protected $guarded = [];

    protected $dateFormat = 'U';

}
